package org.millioncall.yueyoga.admin.service.impl;

import org.millioncall.openplatform.common.PaginatedList;
import org.millioncall.yueyoga.admin.dao.GoodsOrderDetailDAO;
import org.millioncall.yueyoga.admin.model.GoodsOrderDetail;
import org.millioncall.yueyoga.admin.service.GoodsOrderDetailService;

public class GoodsOrderDetailServiceImpl implements GoodsOrderDetailService {
	
	private GoodsOrderDetailDAO goodsOrderDetailDAO;

	public GoodsOrderDetailDAO getGoodsOrderDetailDAO() {
		return goodsOrderDetailDAO;
	}

	public void setGoodsOrderDetailDAO(GoodsOrderDetailDAO goodsOrderDetailDAO) {
		this.goodsOrderDetailDAO = goodsOrderDetailDAO;
	}

	@Override
	public PaginatedList<GoodsOrderDetail> getGoodsOrderDetailInPage(
			Integer id, int start, int limit) {
		// TODO Auto-generated method stub
		return goodsOrderDetailDAO.getGoodsOrderDetailInPage(id,start,limit);
	}

	@Override
	public int save(GoodsOrderDetail goodsOrderDetail) {
		// TODO Auto-generated method stub
		return goodsOrderDetailDAO.save(goodsOrderDetail);
	}

}
